From d73f6b8c50d31fffe0c4e237b6b39391c9f8faf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Mon, 18 Jan 2016 12:46:18 +0100 Subject: [PATCH] entry: Deprecate shadow-type Things like that should be handled using css. Also, the property value is unused inside GtkEntry. --- gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 94e2856500..967522c857 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -975,6 +975,9 @@ gtk_entry_class_init (GtkEntryClass *class) * Which kind of shadow to draw around the entry when * #GtkEntry:has-frame is set to %TRUE. * + * Deprecated: 3.20: Use CSS to determine the style of the border; + * the value of this style property is ignored. + * * Since: 2.12 */ entry_props[PROP_SHADOW_TYPE] = @@ -983,7 +986,7 @@ gtk_entry_class_init (GtkEntryClass *class) P_("Which kind of shadow to draw around the entry when has-frame is set"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_IN, - GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY); + GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED); /** * GtkEntry:overwrite-mode: -- 2.30.2